-
Notifications
You must be signed in to change notification settings - Fork 1
v5 Updates #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v5 Updates #29
Conversation
smithamax
commented
Feb 13, 2025
- use native fetch
- better network errors
- drop support for old load/ipc_manifest
- typescript everything
- update build tools
- use native fetch - better network errors - drop support for old load/ipc_manifest - typescript everything - update build tools
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a quick question about loke context
| "esModuleInterop": true, | ||
| "typeRoots": ["./node_modules/@types", "./types"] | ||
| } | ||
| "extends": ["@tsconfig/node20/tsconfig"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much nicer
| "@loke/context": "^0.0.1", | ||
| "find-up": "^1.1.2", | ||
| "got": "^6.3.0", | ||
| "node-abort-controller": "^3.0.1", | ||
| "node-fetch": "2.6.7", | ||
| "p-finally": "^1.0.0" | ||
| "@loke/context": "^0.0.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, almost 0 deps.
is it worth having @loke/context as a peer dep?
Or it is small enough to not worry.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might need to be a peer dep, but for for now there is only one version so can deal with that when its an issue
| "got": "^6.3.0", | ||
| "node-abort-controller": "^3.0.1", | ||
| "node-fetch": "2.6.7", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We had got and node-fetch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the "legacy" client used got, newer one used node-fetch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah